#include "Tile.h"

CTile::CTile(void)
{
	m_eType = OBJ_TILE;
	m_nPosX				= -1;
	m_nPosY				= -1;
	m_nSRectTop			= -1;
	m_nSRectLeft		= -1;
	m_nSRectRight		= -1;
	m_nSRectBottom		= -1;
	m_sTileEvent		= "";
	m_nCRectLeft		= -1;
	m_nCRectTop			= -1;
	m_nCRectRight		= -1;
	m_nCRectBottom		= -1;
	m_sNameID			= "";
	m_bCollision		= false;
}

CTile::~CTile(void) { }

RECT CTile::GetRect(void)const
{
	RECT rSelf = 
	{
		(LONG)GetCRectLeft(),	(LONG)GetCRectTop(),
		(LONG)GetCRectRight(),	(LONG)GetCRectBottom()
	};

	return rSelf;
}